package com.example.projuct.demos.week.week3.chapter2_1;

/**
 * @author jll
 * @createTime 2025/4/21
 * @description static关键字
 * @version: 1.0
 */
public class StaticCatTest {
    public static void main(String[] args) {
        Cat cat = new Cat();
        cat.setName("小花");
        cat.setAge(2);
        Cat.color = "黑色";
        cat.color = "黑色";
    }

    public void run(){

//        {
//            int a = 20;
//        }
//        int a = 10;
//        {
//            int a = 30;
//        }
    }
}
